home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 098 / cstd.arc / CSTD7#1 next >
Encoding:
Text File  |  1985-07-28  |  2.1 KB  |  68 lines

  1. /* ---------- "mod.std.c Digest V7#1" ---------- */
  2. From: Orlando Sotomayor-Diaz (The Moderator) <cbosgd!std-c>
  3.  
  4.  
  5. mod.std.c Digest            Wed,  5 Jun 85       Volume 7 : Issue   1 
  6.  
  7. Today's Topics:
  8.                        April 30, 1985 draft bug
  9.                                limits.h
  10. ----------------------------------------------------------------------
  11.  
  12. Date: Tue, 4 Jun 85 17:04:44 edt
  13. From: Jeff Lee <gatech!jeff>
  14. Subject: April 30, 1985 draft bug
  15. To: std-c@cbosgd.UUCP
  16.  
  17. Maybe someone else could confirm an observation on the new grammar. The
  18. "parameter_declaration" production has changed since the January draft to
  19.  
  20.         parameter_declaration :
  21.                 declaration_specifiers declarator
  22.                 type_name
  23.  
  24. from
  25.  
  26.         parameter_declaration :
  27.                 type_specifier_list declarator
  28.                 type_name
  29.  
  30. which, disregarding the numerous ambiguities it introduces into the grammar,
  31. seems to allow a declaration that looks like
  32.  
  33.         main()
  34.         {
  35.                 int gorf(typedef arg1);
  36.                 .
  37.                 .
  38.                 .
  39.         }
  40.  
  41. Am I ignorant, missing something, or doing strong drugs or should it actually
  42. be the way it was in the previous grammars?? Once I get some feedback on this
  43. I'll probably post it to net.sources.
  44.  
  45.         Thanks,
  46.  
  47. ------------------------------
  48.  
  49. Date: Mon, 3 Jun 85 15:16:13 edt
  50. From: mark@cbosgd.ATT.UUCP (Mark Horton)
  51. Subject: limits.h
  52. To: std-c@cbosgd.UUCP
  53.  
  54. The appropriate definition for EXTERNAL_NAME_LENGTH is probably
  55. 256, since that's what at least one compiler enforces as a max.
  56. Besides, this value is useful for programs that want to declare
  57. a buffer of the appropriate maximum length portably, e.g.
  58.         char ident[EXTERNAL_NAME_LENGTH];
  59. A similar argument can probably be made for character strings,
  60. although the limit might be a bit higher.
  61.  
  62.         Mark
  63.  
  64. ------------------------------
  65.  
  66. End of mod.std.c Digest - Wed,  5 Jun 85 07:46:13 EDT
  67. ******************************
  68.